package com.simulate2.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 映射到mongodb的分佣实体类，用于保存每个用户的每天分拥金额
 */
@Document
@Data
public class Commision {

    @Id
    private String id;
    private Integer uId;
    private List<Date_commision> date_commisionList;


}


